-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add env vars config for argo-server and workflow-controller #6767
Conversation
Please let me know if this needs more tests. |
Looks good, so simple. Can we add some docs about this? |
Codecov Report
@@ Coverage Diff @@
## master #6767 +/- ##
==========================================
+ Coverage 48.64% 48.70% +0.05%
==========================================
Files 264 265 +1
Lines 19076 19108 +32
==========================================
+ Hits 9279 9306 +27
- Misses 8752 8757 +5
Partials 1045 1045
Continue to review full report at Codecov.
|
@alexec I'll update the following doc this evening: What doc should I update for the workflow-controller? |
I think the right places is probably: https://github.com/argoproj/argo-workflows/blob/master/docs/environment-variables.md |
I was wrong about where to add those flags. It fails Instead, can I ask you to just add a bit like this:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please dismiss review when done.
That makes total sense. I will update the |
Is it possible to have ARGO_ as prefix? |
It shouldn't be an issue, it is fairly simple to do with Viper's |
Signed-off-by: Philippe Richard <philippe.richard93@gmail.com>
|
🚀 |
…goproj#6767) Signed-off-by: Philippe Richard <philippe.richard93@gmail.com> Signed-off-by: kriti-sc <kathuriakriti1@gmail.com>
This is a proposal for #5914. It uses https://github.com/spf13/viper to parse environment variables from the flag names.
I tested this like this: